package ooday01;
/**Car 类的测试类*/
public class CarTest {
    public static void main(String[] args) {
        //创建一个汽车对象
        Car bm = new Car("宝马","白",600000,5);

        //调用方法
        bm.start();
        bm.run();
        bm.stop();
        Car ad = new Car("奥迪","银",500000,7);
        ad.start();
        ad.run();
        ad.stop();
        }
    }
